#pragma once
#include <iostream>
#include <cmath>
#include<complex>

using namespace std;

void func_downsample_cons(complex<double>* input, int input_len, double Fs, double Fs_rsp, double cur_time_ini, complex<double>* output, int output_len, double* cur_time_out);